package com.ruoyi.system.domain;

import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

public class SysCourseinfo extends BaseEntity {
    private static final long serialVersionUID=1L;

    /** 课程名 */
    @Excel(name = "课程名")
    private String name;

    /** 上课教师 */
    @Excel(name = "上课教师")
    private String teacherid;

    @Excel(name = "班级")
    private String classid;

    /** 选课学生 */
    @Excel(name = "选课学生")
    private String studentid;

    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setTeacherid(String teacherid)
    {
        this.teacherid = teacherid;
    }

    public String getTeacherid()
    {
        return teacherid;
    }
    public void setClassid(String classid){this.classid=classid;}
    public String getClassid(){return classid;}
    public void setStudentid(String studentid)
    {
        this.studentid = studentid;
    }

    public String getStudentid()
    {
        return studentid;
    }

    @Override
    public String toString(){
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("name",getName())
                .append("teacherid",getTeacherid())
                .append("classid",getClassid())
                .append("studentid",getStudentid())
                .toString();
    }
}
